package com.vinxin.app.exception


class VXException : RuntimeException {
    val responseCodeEnum: ResponseCodeEnum

    constructor(responseCodeEnum: ResponseCodeEnum) : super() {
        this.responseCodeEnum = responseCodeEnum
    }

    constructor(responseCodeEnum: ResponseCodeEnum, message: String?) : super(message) {
        this.responseCodeEnum = responseCodeEnum
    }

    constructor(responseCodeEnum: ResponseCodeEnum, e: Exception) : super(e) {
        this.responseCodeEnum = responseCodeEnum
    }
}